x86emul: introduce CASE_SIMD_PACKED_INT_VEX()
authorJan Beulich <jbeulich@suse.com>
Mon, 23 Dec 2019 13:13:37 +0000 (14:13 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 23 Dec 2019 13:13:37 +0000 (14:13 +0100)
commit2520620266eed94648a142bbb4d43565e1919ad0
treed70cddf5623767708ebaab59c4e6c8556d51eec2
parent17f53645b20a17792eacc364dd007ce60c94a5d1
x86emul: introduce CASE_SIMD_PACKED_INT_VEX()

Since there are many AVX{,2} insns having legacy MMX and SIMD
counterparts, have a macro covering all three in one go. This (imo)
improves readability (simply by the shrunk number of lines) and helps
prepare for optionally disabling MMX and SIMD support in the emulator.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c